<?php
return [
    'paymentName' => [
        'title' => '支付方式名称',
        'content' => '微信支付',
        'nameId' => 'paymentName',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentLogo' => [
        'title' => '支付方式Logo',
        'content' => 'upload/payment/wxmpay.png',
        'nameId' => 'paymentLogo',
        'inputType' => 'image',
    ],
    'paymentAppId' => [
        'title' => 'APPID(公众号)',
        'content' => '',
        'nameId' => 'paymentAppId',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentAppSecret' => [
        'title' => 'AppSecret(公众号的)',
        'content' => '',
        'nameId' => 'paymentAppSecret',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentMchId' => [
        'title' => 'MCHID(商户号)',
        'content' => '',
        'nameId' => 'paymentMchId',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentKey' => [
        'title' => 'KEY(支付密钥)',
        'content' => '',
        'nameId' => 'paymentKey',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentMinAppId' => [
        'title' => 'APPID(小程序)',
        'content' => '',
        'nameId' => 'paymentMinAppId',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentMobileAppId' => [
        'title' => 'APPID(手机应用)',
        'content' => '',
        'nameId' => 'paymentMobileAppId',
        'inputType' => 'text',
        'class' => 'form-control',
        'width' => 'col-sm-6',
    ],
    'paymentPlatform' => [
        'title' => '已开通平台',
        'content' => [
            'content1' => [
                'name' => '微信内支付(公众号)',
                'value' => 'wechat',
            ],
            'content2' => [
                'name' => 'H5支付',
                'value' => 'h5',
            ],
            'content3' => [
                'name' => 'PC端扫码支付',
                'value' => 'scan',
            ],
        ],
        'nameId' => 'paymentPlatform',
        'inputType' => 'checkbox',
        'checked' => [],
    ],
    'paymentCurrency' => [
        'title' => '可用货币',
        'content' => [
            'content1' => [
                'name' => '人民币',
                'value' => 'CNY',
            ],
        ],
        'nameId' => 'paymentCurrency',
        'inputType' => 'checkbox',
        'checked' => [
            0 => 'CNY',
        ],
    ],
    'paymentState' => [
        'title' => '支付状态',
        'content' => [
            'radio1' => [
                'name' => '启用',
                'value' => '1',
            ],
            'radio2' => [
                'name' => '禁用',
                'value' => '0',
            ],
        ],
        'nameId' => 'paymentState',
        'inputType' => 'radio',
        'checked' => '0',
    ],
    'paymentSort' => [
        'title' => '支付排序',
        'content' => '255',
        'nameId' => 'paymentSort',
        'inputType' => 'number',
        'class' => 'form-control',
        'width' => 'col-sm-2',
    ],
    'onlinePayment' => [
        'nameId' => 'onlinePayment',
        'inputType' => 'hidden',
        'content' => 'true',
    ],
    'noticeMode' => 'asyncNotice',
    'editAction' => 'Wxpay',
];
